﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RayTracing
{
    public class P2
    {
        public float x, y;
        public int region;

        public P2(float x, float y) //Constructor taking float x and float y
        {
            this.x = x;
            this.y = y;
            this.region = 0;
        }

        public P2(float x, float y, int layer)
        {
            this.x = x;
            this.y = y;
            this.region = layer;
        }

        public P2(P2 point)         //Constuctor taking a P2 point
        {
            this.x = point.x;
            this.y = point.y;
            this.region = point.region;
        }
    }
}
